package com.owc.common.sdk.response;

import com.owc.common.sdk.AbstractResponse;
import com.owc.common.sdk.entity.AbstractResult;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigInteger;

/**
 * @Author xiaom
 * @Date 2020/4/3 18:49
 * @Version 1.0.0
 * @Description <>
 **/
@EqualsAndHashCode(callSuper = true)
@Data
public class CancelOrderResponse extends AbstractResponse<CancelOrderResponse.ResponseMsgResult> {

    private CancelOrderResponse.ResponseMsgResult data;


    @EqualsAndHashCode(callSuper = true)
    @Data
    public static class ResponseMsgResult extends AbstractResult {

        private Boolean status;
        /**
         * 取消之后新的交易Hash
         */
        private String txHash;
        /**
         * 区块随机数
         */
        private BigInteger nonce;

    }

}
